import Detail from "@/pages/Detail";
import List from "@/pages/List";
import { createBrowserRouter } from "react-router-dom";

const router = createBrowserRouter([
    {
        path:'/',
        element:<List/>
    },
    {
        path:'/detail',
        element:<Detail/>
    }
])

export default router